package com.ruoyi.system.amqp.taskscheduler;


import org.springframework.stereotype.Component;

@Component
public class WaitingTask {
    public void delay(Long millis) {
        try {
            Thread.sleep(millis);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
